class CreateTeamHalveSummaries < ActiveRecord::Migration
  def self.up
    create_table :team_halve_summaries do |t|
      t.references :team
      t.references :game
      t.integer :halve
      t.integer :first_downs
      t.integer :yards_rushing
      t.integer :yards_passing
      t.integer :losses
      t.integer :pass_complete
      t.integer :pass_attempts
      t.integer :interception_throwns
      t.integer :fumbles
      t.integer :fumbles_lost
      t.integer :penalties
      t.integer :penalty_yards

      t.timestamps
    end
  end

  def self.down
    drop_table :team_halve_summaries
  end
end
